 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>项目管理系统 by www.mycodes.net</title>
<!--
<link rel="stylesheet" rev="stylesheet" href="css/Shortcuts/shortcuts_notice/style.css" type="text/css" media="all" />
-->
<script src="./js/jquery/jquery-1.7.2.js" type="text/javascript"></script>
<script src="./js/jquery/jquery.ui.js" type="text/javascript"></script>
<script src="./js/jquery/jquery.form.js" type="text/javascript"></script>
<script type="text/javascript" src="js/template/jquery-jtemplates.js"></script>

<script src="./js/Shortcuts/ShortCuts_sendMsg.js" type="text/javascript"></script>

<script type="text/javascript">

	 $(document).ready(function() {
          $('#myform').ajaxForm(function() {
          // 提交表单
	   	 	$(this).ajaxSubmit();
			alert('发送成功！');
	    	// 为了防止普通浏览器进行表单提交和产生页面导航（防止页面刷新？）返回false
	    	return false;	 
          });
});
//	
</script>

        <style type="text/css">
        
        <!-- .atten {
            font-size: 12px;
            font-weight: normal;
            color: #F00;
        }
        -->
        
        </style>
    </head>
    <body class="ContentBody">
        <form action="rest/informService/add" method="post" name="myform" id="myform">
            <div class="MainDiv">
            	
                <table width="99%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <th >
                            	添加任务页面
                        </th>
                    </tr>
                    <tr>
                        <td>
                        	
							
                            <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                                <tr>
                                    <td style="text-align:left;">
                                        <input type="submit" name="Submit" value="发送" class="button" onclick="alert('发送成功！');" />　
										<input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/>
                                    </td>
                                </tr>
                                <TR>
                                    <TD width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>
                                              	  发布任务
                                            </legend>
											
                                             <table border="0" cellpadding="2" cellspacing="1" style="width:100%">

					 

					  <tr>

					    <td nowrap align="right" width="13%">任务标题:</td>

					    <td width="41%"><input name="text" class="text" style="width:250px" type="text" size="40" />

				        <span class="red"> *</span></td>

					    <td align="right" width="19%">工期:</td>

					    <td width="27%"><input name="Input22" id="Input22" class="text" style="width:154px" /></td>

					    </tr>

					  <tr>

					    <td nowrap align="right">计划开始时间:</td>

					    <td><input name="" id="" class="text" style="width:154px" /></td>

					    <td align="right">计划结束时间:</td>

					    <td><input name="Input" id="Input" class="text" style="width:154px" /></td>

					  </tr>

					   <tr>

					    <td nowrap align="right">任务执行人:</td>

					    <td><select name="select2" >

                          <option  selected="selected">==请选择==</option>

                          <option>暂不</option>

                          <option>一般</option>

                          <option>需要</option>

                          <option>急</option>

                          <option>很急</option>

                        </select></td>

					    <td align="right">优先级:</td>

					    <td><select name="select" >

                          <option  selected="selected">==请选择==</option>

                          <option>暂不</option>

                          <option>一般</option>

                          <option>需要</option>

                          <option>急</option>

                          <option>很急</option>

                        </select></td>

					  </tr>

					  <tr>

					    <td nowrap align="right" height="120px">任务说明:</td>

					    <td colspan="3"><textarea id="textarea" name="textarea" rows="5" cols="80"></textarea></td>

					    </tr>

					  </table>

											
											
											
                                            <br/>
                                        </fieldset>
                                    </TD>
                                </TR>
                            </TABLE>
                        </td>
                    </tr>
                    <TR>
                        <TD colspan="2" style="text-align:left;" height="50px">
                            <input type="submit" name="Submit"  value="发送" onclick="alert('发送成功！');" />　
							<input type="button" name="Submit2" value="返回" onclick="window.history.go(-1);" />
                        </TD>
                    </TR>
                </TABLE>
                </td>
            </tr>
            </table>
        </div>
        </form>
		
		<div id="contact_dialog_div">
			<div id="contact_dialog_table_div">
			</div>
		</div>
    </body>
</html>